/**
 * Copyright 2011 Joe Choi, All rights reserved.
 */
package tec.data.persistence;

/**
 * @author Joe Choi
 */
public class Configuration {
	public Configuration(String driverName, String url) {
		this(driverName, url, "", "");
	}
	
	public Configuration(String driverName, String url, String user, String passwd) {
		setDriverName(driverName);
		setURL(url);
		setUsername(user);
		setPassword(passwd);
	}
	
	public String getDriverName() {
		return(driverName);
	}

	public String getURL() {
		return(url);
	}

	public String getUsername() {
		return(username);
	}

	public String getPassword() {
		return(password);
	}
	
	public void setURL(String url) {
		this.url = url;
	}

	public void setDriverName(String driverName) {
		this.driverName = driverName;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	private String driverName;
	private String url;
	private String username;
	private String password;
}
